package com.demo.house.dao;

import com.demo.house.entity.HouseSourse;
import com.demo.house.vo.RequestVo.RandomqueryVo;
import com.demo.house.vo.RequestVo.RequsetSourseVo;

import java.util.List;

public interface HouseSourseDao {
    int deleteByPrimaryKey(Integer id);

    int insert(HouseSourse houseSourse);

    int insertSelective(HouseSourse houseSourse);

    HouseSourse selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HouseSourse record);

    int updateByPrimaryKey(HouseSourse record);

    List<HouseSourse> selectAll();

    List<HouseSourse> selectCaa(Integer id);

    List<HouseSourse> selectUserId(Integer id);

    List<HouseSourse> blurry(RequsetSourseVo requsetSourseVo);

    List<HouseSourse> Randomquery(RandomqueryVo randomqueryVo);

    int updateState(HouseSourse record);



}